/**
* 项目全局设置
*/
angular.module('app')
.constant('appid', 'H5')
.constant('key', 'innjia2016111703')

// /* 测试服 */
.constant('apiUrl', 'http://testuip.innjia.com/test/api/InnjiaUip')
.constant('h5Url', 'http://wx.innjia.com/h5v2/test/rentContract/WEB-INF/views/default/index.html')

.constant('javaUrl', 'http://121.40.178.164:3030')

.constant('javaUrls', {
	'pay': 'http://121.40.178.164:7070',
	'settlment': 'http://121.40.178.164:7171',
	'monthly': 'http://121.40.178.164:8080',
	// 'hardware': 'http://120.26.9.21:9090'
})

// /* 预生产服 */
// .constant('apiUrl', 'http://testuip.innjia.com/pre/api/InnjiaUip')
// .constant('h5Url', 'http://wx.innjia.com/h5v2/test/rentContract/WEB-INF/views/default/index.html')

// /* 正式服 */
// .constant('apiUrl', 'http://uip.innjia.com/api/InnjiaUip')
// .constant('h5Url', 'http://wx.innjia.com/h5v2/rentContract/WEB-INF/views/default/index.html')

.constant('imagePrefix', '')
.constant('imageAddress', '')
.constant('uploadAddress', 'http://openapi.innjia.com/api/InnjiaUip')